<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Mod_slideshow extends CI_Controller{
    function  __construct(){
        parent::__construct();        
        //$this->load->model('mod_timkiem/mmod_timkiem');
    }
    function index(){ // id luu torng session
            $slideshow = $this->common_model->getdata('slideshow',array('publish'=>1),array('image','link','title'));
            $data = array('slideshow'=>$slideshow);
            return $this->load->view('mod_slideshow/vmod_slideshow',$data,true);   
    }    
}
?>